<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工作产品描述符: 设计类</title>
<meta content="WorkProductDescriptor" name="uma.type">
<meta content="rup_design_class" name="uma.name">
<meta content="设计类" name="uma.presentationName">
<meta content="WorkProductDescriptor" name="element_type">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ActivityTreeTable.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ProcessElementPage.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/processElementData.js"></script><script language="JavaScript" type="text/javascript">
					var defaultQueryStr = '?proc={002674F9-6511-4D15-8623-B761D8C48986}&path={002674F9-6511-4D15-8623-B761D8C48986},{9C683674-97C1-4AEE-8DB0-9514AEFF698E},_CQ1sCBi2Edq_uI8xTPML6g';
					var backPath = './../../';
					var imgPath = './../../images/';
					var nodeInfo=null;
					contentPage.preload(imgPath, backPath, nodeInfo, defaultQueryStr, false, true, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="_CQ1sCBi2Edq_uI8xTPML6g"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工作产品：设计类</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../images/workdes_lg_dgm32.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">该工件描述了一组共享相同的职责、关系、操作、属性和语义的对象。</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">用途</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="XE_class__as_artifact" name="XE_class__as_artifact"></a><a id="Top" name="Top"></a><a id="XE_class__purpose_of" name="XE_class__purpose_of"></a><a id="Purpose" name="Purpose"></a> 
<p>
    以下人员使用类：
</p>
<ul>
    <li>
        <b>实施者</b>，在实施类时将类用于规范。
    </li>
    <li>
        系统其他部件的<b>设计人员</b>用类来了解将如何使用他们设计的功能，及其这些功能的关系含义。
    </li>
    <li>
        <b>用例设计者</b>，以在用例实现中实例化它们。
    </li>
    <li>
        <b>设计系统下一版本的人员</b>，使用类来了解设计模型中的功能。
    </li>
    <li>
        <b>测试类的人员</b>，使用类来规划测试活动。
    </li>
</ul></td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">角色</th><td width="30%" class="sectionTableCell"><span class="sectionTableCellHeading">负责人:
								</span>
<ul>
<li>
<a href="./../../core.base_rup/capabilitypatterns/rup_designer_FCD65796.html" guid="_CQ1sARi2Edq_uI8xTPML6g">设计人员</a>
</li>
</ul>
</td><td colspan="2" class="sectionTableCell"><span class="sectionTableCellHeading">修改者:
								</span></td>
</tr>
</table>
</div>
<div class="sectionHeading">属性</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading" id="property_可选" abbr="可选">可选</th><td align="left" class="sectionTableCell" headers="property_可选"><img title="" alt="" height="15" width="20" src="./../../images/indent.gif"></td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading" id="property_已计划" abbr="已计划">已计划</th><td align="left" class="sectionTableCell" headers="property_已计划"><img title="Yes" alt="Yes" height="15" width="20" src="./../../images/true.gif"></td>
</tr>
</table>
</div>
<div class="sectionHeading">定制</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">说明选项</th><td class="sectionTableCell"><p>
    UML 说明：类。
</p>
<p>
    类可能有以下属性：
</p>
<div align="left">
    <table     style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid"      cellspacing="0" bordercolordark="#808080" cellpadding="4" width="85%" bordercolorlight="#808080" border="1">
        <tbody valign="top">
            <tr>
                <td width="21%">
                    <p class="tableheading">
                        <b>属性名</b>&nbsp;
                    </p>
                </td>
                <td width="41%">
                    <p class="tableheading">
                        <b>简要描述</b>&nbsp;
                    </p>
                </td>
                <td width="38%">
                    <p class="tableheading">
                        <b>UML 说明</b>&nbsp;
                    </p>
                </td>
            </tr>
            <tr>
                <td width="21%">
                    名称&nbsp;
                </td>
                <td width="41%">
                    类名。&nbsp;
                </td>
                <td width="38%">
                    模型元素上的属性“名称”。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    简要描述&nbsp;
                </td>
                <td width="41%">
                    类的角色和目的的简述。&nbsp;
                </td>
                <td width="38%">
                    “短文本”类型的标注值。 &nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    职责&nbsp;
                </td>
                <td width="41%">
                    由类定义的职责。&nbsp;
                </td>
                <td width="38%">
                    超类“Type”上的（预定义的）标注值。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    关系&nbsp;
                </td>
                <td width="41%">
                    类参与的关系，例如泛化关系、关联和聚集。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“拥有”，由封闭包所拥有。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    操作&nbsp;
                </td>
                <td width="41%">
                    类定义的操作。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“成员”，由超类“Type”所拥有。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    属性&nbsp;
                </td>
                <td width="41%">
                    由类定义的属性。&nbsp;
                </td>
                <td width="38%">
                    - " -&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    特殊需求&nbsp;
                </td>
                <td width="41%">
                    文本描述，用于收集类上的所有需求（例如非功能需求），在设计模型中未考虑但需要在实施时考虑这些需求。&nbsp;
                </td>
                <td width="38%">
                    “短文本”类型的标注值。 &nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    图&nbsp;
                </td>
                <td width="41%">
                    所有与类有关的图，例如交互图、类图或状态表图。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“拥有”，由封闭包所拥有。&nbsp;
                </td>
            </tr>
        </tbody>
    </table><br />
</div>
<p>
    <a id="Tailoring" name="Tailoring"></a>
</p>
<p>
    可使用构造型以某种方式限定设计类或约束实施。例如，可以使用构造型表示该类代表特定编程语言构造。
</p>
<p>
    关于更多信息，请参阅<a class="elementLinkWithUserText" href="./../../core.base_rup/guidances/guidelines/design_class_E98280BF.html" guid="2.914882084937444E-305">工作产品指南：设计类</a>。
</p></td>
</tr>
</table>
</div>
<div class="sectionHeading">更多信息</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">核对表</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../core.base_rup/guidances/checklists/design_class_436B6210.html" guid="1.1028389988231071E-306">设计类</a>
</li>
</ul>
</td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading">指南</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../core.base_rup/guidances/guidelines/design_class_E98280BF.html" guid="2.914882084937444E-305">设计类</a>
</li>
<li>
<a href="./../../core.base_rup/guidances/guidelines/testing_and_evaluating_classes_EBAC0D94.html" guid="1.1862467594435116E-304">测试和评估类</a>
</li>
<li>
<a href="./../../core.base_rup/guidances/guidelines/building_web_applications_with_the_uml_922EDDA8.html" guid="4.559124609104376E-305">使用 UML 构建 Web 应用程序</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script type="text/javascript" language="JavaScript">
					contentPage.onload();
					contentPage.processPage.fixDescriptorLinks();
				</script>
</html>
